Common Error Codes

Common Error Codes for SIMBA.

Error Code: status: 400, code: 8002

error: {"errors": [{"title": "Metadata Generation Error", "status": "400", "code": "8002", "detail": "/libs/openzeppelin/4.6.0/contracts/token/ERC721/ERC721.sol:4:1: ParserError: Source file requires different compiler version (current compiler is 0.6.9+commit.3e3065ac.Linux.g++) - note that nightly builds are considered to be strictly less than the released version:::pragma solidity ^0.8.0;:::^---------------------^"}]}

Explanation

The above error code is likely a compiler version error. Meaning the compiler version being specified (seemingly 0.8.0 is not correct).

Solution

Here are versions currently supported:

"0.4.24",
      "0.5.10",
      "0.5.12",
      "0.5.17",
      "0.6.3",
      "0.6.4",
      "0.6.9",
      "0.7.0",
      "0.7.6",
      "0.8.3",
      "0.8.9",
      "0.8.11",
      "0.8.14"

API Error Codes

General

Name

Error Code

Detail

HTTP Code

FRAMEWORK_ERROR

99

Framework Error

500

HTTP

Name

Error Code

Detail

HTTP Code

BAD_REQUEST

1400

Bad Request

400

UNAUTHORIZED

1401

Unauthorized

401

FORBIDDEN

1403

Forbidden

403

NOT_FOUND

1404

Not Found

404

METHOD_NOT_ALLOWED

1405

Method Not Allowed

405

NOT_ACCEPTABLE

1406

Not Acceptable

406

CONFLICT

1409

Conflict

409

UNSUPPORTED_MEDIA_TYPE

1415

Unsupported Media Type

415

TOO_MANY_REQUESTS

1429

Too Many Requests

429

Permission

Name

Error Code

Detail

HTTP Code

NO_PERMISSIONS

2001

The application has permissions enabled, but no permissions are defined for the called method.

403

NO_USER

2002

You have made a request to a permissioned application, but have not specified a remote user

403

METHOD_ACCESS_DENIED

2003

Remote user's group does not have permission to access this method

403

METHOD_ACCESS_STILL_DENIED

2004

Remote user's group does not have permission to access this method yet

403

METHOD_ACCESS_CURRENTLY_DENIED

2005

Remote user's group no longer has permission to access this method

403

LISTING_TRANSACTIONS_DENIED

2006

Listing transactions outside a method is not supported for permissioned Apps

403

WRITE_FILESYSTEM_DENIED

2007

Remote user's group does not have permission to write to the filesystem for this method

403

WRITE_BLOCKCHAIN_DENIED

2008

Remote user's group does not have permission to write to the blockchain for this method

403

WRITE_FILESYSTEM_METHOD_DENIED

2009

Remote user's group does not have permission to read to the filesystem for this method

403

WRITE_BLOCKCHAIN_METHOD_DENIED

2010

Remote user's group does not have permission to read to the blockchain for this method

403

Transaction

Name

Error Code

Detail

HTTP Code

REPEAT_TRANSACTION

3001

This transaction has already been sent to the blockchain, and cannot be resubmitted.

400

UNKNOWN_CONTRACT_ERROR

3002

Unknown contract.

400

INVALID_CONTRACT_ERROR

3003

Invalid contract.

400

TRANSACTION_CREATION_ERROR

3004

Transaction Creation Error.

500

TRANSACTION_SIGNING_ERROR

3005

Transaction Signing Error.

500

TRANSACTION_SUBMISSION_ERROR

3006

Transaction Submission Error.

500

CONTRACT_DEPLOY_ERROR

3007

Contract Deployment Error.

500

INVALID_INPUT_ERROR

3008

Invalid Input Error.

400

NONCE_TOO_LOW

3009

Nonce too low

409

ADDRESS_MISMATCH

3010

Submitted address mismatch

409

INVALID_ADDRESS_ERROR

3011

Invalid Address Error.

400

RETRYABLE_TRANSACTION_ERROR

3012

Retryable Transaction Error.

503

CALL_NODE_ERROR

3013

Call Node Error.

500

UNKNOWN_TRANSACTION_ERROR

3014

Unknown Transaction Error.

400

INVALID_METADATA_ERROR

3015

Invalid Metadata Error.

500

CONTRACT_TRANSACTION_NOT_FOUND_ERROR

3016

Contract transaction not found. May still be processing. Try again shortly.

400

CONTRACT_METHODCALL_ERROR

3017

Contract Method Call Error.

500

Bundle

Name

Error Code

Detail

HTTP Code

NO_BUNDLE_FOR_TRANSACTION

4001

Transaction has no bundle

400

FILE_NOT_SPECIFIED

4002

File name or index is not specified

400

BUNDLE_WRITE_ERROR

4003

Bundle could not be written

500

BUNDLE_READ_ERROR

4004

Bundle could not be read

500

BUNDLE_REMOVE_ERROR

4005

Bundle could not be removed

500

BUNDLE_NOT_FOUND_ERROR

4006

Bundle could not be found

404

Key

Name

Error Code

Detail

HTTP Code

KEY_MANAGEMENT_ERROR

5001

Key Management Error

500

KEY_MAPPING_ERROR

5002

Error mapping key

500

KEY_CREATION_ERROR

5003

Error creating key

500

KEY_RETRIEVAL_ERROR

5004

Error retrieving key

500

Event

Name

Error Code

Detail

HTTP Code

SUBSCRIPTION_MATCH_ERROR

6001

Subscription match error

500

SUBSCRIPTION_CREATE_ERROR

6002

Subscription create error

500

SUBSCRIPTION_REMOVE_ERROR

6003

Subscription remove error

500

NOTIFICATION_ERROR

6004

Notification error

500

NOTIFICATION_ENDPOINT_ERROR

6005

Notification endpoint error

400

BlockMon

Name

Error Code

Detail

HTTP Code

INVALID_BLOCK_IDENTIFIER

7001

Invalid Block Identifier

400

NO_SUCH_BLOCKCHAIN

7002

No Such Block Chain Exception

400

Contract

Name

Error Code

Detail

HTTP Code

CODE_GENERATION_ERROR

8001

Code Generation Error

400

METADATA_GENERATION_ERROR

8002

Metadata Generation Error

400

METADATA_COMPATIBILITY_ERROR

8003

Metadata Compatibility Error

400

Crypto

Name

Error Code

Detail

HTTP Code

SIGNING_ERROR

9001

Signing Error

500

ENCRYPTION_ERROR

9002

Encryption Error

500

VERIFICATION_ERROR

9003

Verification Error

500

Last updated