Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendly Unsupported Blockchain Action API Error Message #42

Open
kespinola opened this issue Aug 29, 2023 · 0 comments
Open

Friendly Unsupported Blockchain Action API Error Message #42

kespinola opened this issue Aug 29, 2023 · 0 comments

Comments

@kespinola
Copy link
Contributor

kespinola commented Aug 29, 2023

Issue

When action is unsupported the credit client returns the below error which isn't descriptive to the user.

{
  "data": null,
  "errors": [
    {
      "message": "Error processing line item CreateCollection for Polygon",
      "locations": [
        {
          "line": 1,
          "column": 71
        }
      ],
      "path": [
        "createCollection"
      ]
    }
  ]
}

Requirement

  • API error should be "The blockchain {blockchain} does not support the action {action}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant