Closed roboptics closed 2 years ago
Do you by any chance have multiple users on your project? If so, are you the primary user?
Almost sure I am the only user. How can I check?
Ok, thanks, if you have a project on the start up plan you can go to "settings" and it should show all invited users.
Can you maybe show a screenshot of the error and also what the 400 response says in its body? Make sure to redact any sensitive headesr like Cookie, Set-Cookie, and Authorization! :)
Hi,
I confirm I am the only user. We're on the developer plan, so I don't think it is even possible to invite other users.
Below find the full request / response for the 400 error:
Request URL: https://api.console.ory.sh/backoffice/public/projects/
access-control-allow-credentials: true
access-control-allow-origin: https://console.ory.sh
access-control-expose-headers: Content-Type, Set-Type, Link, X-Total-Count
cf-cache-status: DYNAMIC
cf-ray: 6de6b0bb686a385d-MAD
content-length: 274
content-security-policy-report-only: default-src 'self'; worker-src 'self' blob:;script-src 'self' 'unsafe-inline' https://cdn.iubenda.com https://www.iubenda.com https://www.googletagmanager.com https://ory.sh https://www.ory.sh https://js.stripe.com https://sqa-web.ory.sh https://cdn.jsdelivr.net;connect-src 'self' https://project.console.ory.sh https://*.projects.oryapis.com https://console.ory.sh wss://project.console.ory.sh wss://.projects.oryapis.com wss://console.ory.sh https://hits-i.iubenda.com https://.ingest.sentry.io https://sqa-web.ory.sh; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://cdn.jsdelivr.net;base-uri 'self'; form-action 'self' https://project.console.ory.sh https://*.projects.oryapis.com https://console.ory.sh https://github.com; frame-src 'self' https://js.stripe.com;font-src 'self' https://fonts.gstatic.com https://cdn.jsdelivr.net;manifest-src 'self'; frame-ancestors 'none'; img-src 'self' data: https://q.stripe.com https://js.stripe.com
content-type: application/json
date: Wed, 16 Feb 2022 12:13:31 GMT
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
permissions-policy: accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), usb=()
referrer-policy: strict-origin-when-cross-origin
server: cloudflare
vary: Origin
x-content-type-options: nosniff
x-envoy-upstream-service-time: 177
x-frame-options: DENY
:authority: api.console.ory.sh
:method: PUT
:path: /backoffice/public/projects/
{id: "
{error: {code: 400, status: "Bad Request", request: "41502d50-cf20-43e6-bd0e-e51a159e8c07",…}} error: {code: 400, status: "Bad Request", request: "41502d50-cf20-43e6-bd0e-e51a159e8c07",…} code: 400 message: "The request was malformed or contained invalid parameters" reason: "The given identity schema has not set a preset or custom identity schema or is otherwise invalid." request: "41502d50-cf20-43e6-bd0e-e51a159e8c07" status: "Bad Request"
On a side note, can we delete an existing identity schema? If so, how?
Thank you for your help.
Thank you for the report, I was able to reproduce this. The issue is that there is currently a bug in the UI logic where it is not possible to set an existing identity schema in the UI. As a workaround you can create a copy of the schema (so just click "customize identity schema", enter a name, click enter) to save the same schema as a new version, and then use that. That works for me at least!
I confirm that it works (I had already tried it), but if you try to go back and select it again it no longer works. We will keep creating a new identity schema when we want to switch as a work around and wait for a fix.
This brings me to the question (at the bottom) in my last email. Can we delete identity schemas? If so, how?
Best,
Ok, currently it is not possible to delete them, but we could provide an option to forget the schema so it doesn't show up in the UI any more. We will also resolve this issue in the UI but a fix won't be available before next week as we also need to create a testing story around this!
We are still experiencing issues with the custom identity schemas. The data is all safe but it looks as if we have some regressions in the UI. We've got someone working on this though, sorry for the inconvenience
Preflight checklist
Describe the bug
Since early last week we are unable to select any of our custom identity schemas. The following error is shown in the Ory Console:
An error occurred: Error: Request failed with status code 400
Some of these schemes have several months and were working before. Please advise.
Reproducing the bug
Relevant log output
No response
Relevant configuration
No response
Version
Web Ory Cloud Console
On which operating system are you observing this issue?
Ory Cloud
In which environment are you deploying?
No response
Additional Context
No response