question

mohammed avatar image
mohammed asked David Marginian Deactivated answered

Some errors on e-commerce api

Hello sometimes we receive this error when we use the e-commerce api to pay an order

{
    "message": "403 Forbidden",
    "error": {
        "code": "processing_error",
        "message": "Invalid permissions for expandable fields."
    }
}


Can you please explain what does it mean?


we received also other errors like

"Sorry, but we are having a brief maintenance. Check back in a few minutes." and

"Internal Server Error"

e-commerce api
5 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image David Marginian ♦♦ commented ·

You are going to have to provide details of the request. I looked at the logs over the last 10 days and do not see any requests that match your description for your test merchant. Perhaps you have another test merchant, but without details we can't help you.

0 Likes 0 ·
mohammed avatar image mohammed David Marginian ♦♦ commented ·

it's on production, what kind of details you need ?
for example this is the token used for a request sent at 9:53PM UTC time

clv_1TSTSbfgvBC9kHYLs7UJzx3M

and the order uuid is

6S3BRHZ7DH3G6

The response was

{
    "message": "503 Service Unavailable",
    "error": {
        "code": "processing_error",
        "message": "Sorry, but we are having a brief maintenance.  Check back in a few minutes."
    }
}
0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ mohammed commented ·

That particular error (503) does mean we were having an outage. I can't provide you information on the other errors you asked about without more details about the request.

0 Likes 0 ·
Show more comments

1 Answer

David Marginian avatar image
David Marginian Deactivated answered

I am going to close this post out. I think all the issues are resolved:

1) The 503s was a known outage.

2) The 403s are a result of merchant's using an outdated token that doesn't reflect the current required permissions for taking ecomm payments.

3) The 500s appear to be related to something in your code.


If you have more issues please create a new post.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community