You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using OAuth2Api from the https://www.npmjs.com/package/@ory/client library to make a request to getOAuth2LoginRequest() (which calls the endpoint /admin/oauth2/auth/requests/login). Usually this works fine, but occasionally we've been seeing 400 errors pop up from this call every couple hours or so. A 400 error seems fixable, but unfortunately we aren't getting any useful diagnostic data back with the error. An example error looks like:
{
code: "ERR_BAD_REQUEST",
message: "Request failed with status code 400",
status: 400
}
Is there any way to find out what could be causing this error, or are there any known issues that would cause a 400 like this?
Thanks in advance for any help!
Edit: I found more error details, but I'm not sure what steps I can take to prevent this. Appreciate ideas anyone might have!
{
message: "Blocked",
reason: "Request has been marked as malicious.",
status: "Bad Request"
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using OAuth2Api from the https://www.npmjs.com/package/@ory/client library to make a request to getOAuth2LoginRequest() (which calls the endpoint
/admin/oauth2/auth/requests/login). Usually this works fine, but occasionally we've been seeing 400 errors pop up from this call every couple hours or so. A 400 error seems fixable, but unfortunately we aren't getting any useful diagnostic data back with the error. An example error looks like:Is there any way to find out what could be causing this error, or are there any known issues that would cause a 400 like this?
Thanks in advance for any help!
Edit: I found more error details, but I'm not sure what steps I can take to prevent this. Appreciate ideas anyone might have!
Beta Was this translation helpful? Give feedback.
All reactions