Api Account Details cannot get credit available and subscription

Previously, I used this API to test a sandbox key, and it used to return a 200 response with available and subscription in the result. But today, when I tested it again, it no longer works. Instead, it returns a 400 response with the following message:
{
“error”: {
“message”: “credits.available: Required, credits.subscription: Required”
}
}

I want you to restore it to the previous behavior so that I can use it again. If that’s not possible, then please tell me how I can check whether a sandbox key is active or not. However, I still want it to return the same data as before for a live key.

Hi there,

It’s possible you have hit your max limit of sandbox calls per month. For context, this feature was enabled to help teams test while they started to implement new projects.

Here is further information on this: Sandbox Mode | Photoroom API Documentation

Let me know if this is not your case?

No, I don’t think your answer matches what I meant. What I mean is that this API
https://image-api.photoroom.com/v1/account used to return 200 when I used the sandbox key before, but now it returns 400.
So, how can I check whether my customer is using the correct sandbox key or not?

Sending you a DM so I can get you to share your API key with me!