Error 404 cannot POST

Modified on Thu, 18 Aug 2022 at 03:24 PM

Sometimes you could encounter an error looking as follows:

{"statusCode":404,"message":"Cannot POST /v3/nft/mint/celo","error":"Not Found"}

Good to know

The error 404 is always URL related. The example above uses the wrong URL "/v3/nft/mint/celo"


Making a related API with the correct URL would look as follows:

curl -i -X POST https://api-us-west1.tatum.io/v3/nft/mint/ \
   -H 'Content-Type: application/json' \
   -H 'x-api-key:_your_US_WEST1__API_key_' \
   -d '{
    "to": _address_",
    "url": "_url_",
    "contractAddress": "_contrac_address_",
    "tokenId": "1",
    "chain": "_chain_",
    "fromPrivateKey": "_private_key_",
    "feeCurrency": "_currency_"
}'
Be mindful of regional API identifier in the URL



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article