403 error from the API

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
strickvl
Posts: 1
Joined: Sat Jan 07, 2023 11:58 am

403 error from the API

Post by strickvl »

Hi,

I'm trying to built a little dashboard showcasing my Project Euler scores on a Tidbyt device ([link]https://tidbyt.dev/docs/build/build-for-tidbyt[/link]). I see that I can get my current problem / level via the API at

Code: Select all

https://projecteuler.net/profile/strickvl.txt
.

I can access this via CURL and in my browser just fine, but when I go to build / render the app and try to make a GET request to the endpoint, I get a 403 error (i.e. forbidden request).

I can't quite figure out why this is the case, but I'm guessing it is because you have some rules on your server that block my request because it looks automated or something like that? Is that the case? It'd be nice to be able to access the data.
User avatar
euler
Administrator
Posts: 5095
Joined: Sun Mar 05, 2006 4:49 pm
Location: Cheshire, England
Contact:

Re: 403 error from the API

Post by euler »

I have no idea why it wouldn't work if it's a well-formed HTTPS request. I'm certainly not implementing any rules that might block the request. Maybe some others who have had experience with building apps that use the API might have some ideas.
Image
impudens simia et macrologus profundus fabulae
Post Reply