raven-erlang
raven-erlang copied to clipboard
Wrong RESTAPI endpoint
According to the docs, the endpoint should be
{BASE_URI}/api/{PROJECT_ID}/store/
but the endpoint used in the code is
{BASE_URI}/api/store/
Not sure if this is a bug, or some configuration mishap somewhere, but I wanted to raise it as a possible issue.
@jesperes sorry, is that your guess or it's a real bug?
As far as I can tell it is a real bug because two things:
- The documentation says the endpoint is
'{BASE_URI}/api/{PROJECT_ID}/{ENDPOINT}/'
- The URL used in the code (
{BASE_URI}/api/store/
) didn't work for me, but it works fine when I use the endpoint as specified in the docs.
ok! I will look into it
My best guess is that the restapi had a fallback to lookup the project in the payload if the URL was /api/store/
, but that fallback was at some point removed.