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

Getting Error 405 Method Not Allowed for create NFT, create account etc. #51

Open
RossConsulting opened this issue Jan 25, 2024 · 6 comments

Comments

@RossConsulting
Copy link

RossConsulting commented Jan 25, 2024

My colleague and I recently tried to follow the instructions for the one click deploy on vercel but we both get a 405 Method Not Allowed when doing the create NFT or create Account calls.

Has anyone done them recently?

I have tried with https://serverless-hedera.vercel.app/ and with https://serverless-hedera-git-main-rossconsultinghts.vercel.app/. Since it is a Testnet account I am happy to provide my API key if someone wants to reproduce.

Screenshot 2024-01-25 at 22 45 19
@mattsmithies
Copy link
Collaborator

How strange, let me look into this for you.

@mattsmithies
Copy link
Collaborator

mattsmithies commented Jan 26, 2024

Ok, I've managed to duplicate the issue, I believe it is related to this. vercel/next.js#46375 (comment)

(this is interesting because it seems like an intermittent issue)

@mattsmithies
Copy link
Collaborator

Screenshot 2024-01-26 at 10 50 02

I've deployed on my end, a new version of the repository to a new vercel installation.

And I am able to create NFTs, tokens, and Inscriptions.

I wonder if it is Vercel cold start issue, feel free to look at your logs and test some more calls.

@RossConsulting
Copy link
Author

RossConsulting commented Jan 26, 2024 via email

@mattsmithies
Copy link
Collaborator

Hey @RossConsulting,

Just wanted to doublecheck with you did you try your API with postman?

Here are some screenshots of me, hitting your endpoints. Obviously, I don't know your API secret - but you should see that it gets past the "405 issue", normally 405's is a symptom of using the wrong request type, so a PUT instead of a POST.

Inscription Deployment

Screenshot 2024-01-27 at 13 31 06

Deploying of the NFT

Screenshot 2024-01-27 at 13 31 34

As this is testnet, feel free to send me your API key (privately), and we can always change it later.

@RossConsulting
Copy link
Author

RossConsulting commented Feb 14, 2024 via email

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

2 participants