Skip to content

Conversation

@dmurawsky
Copy link
Contributor

We were getting this error when the parameter fetch failed:

 ⨯ TypeError: Cannot convert undefined to a BigInt

This is the error that the fetch was returning.

{
  error: 'Forbidden',
  message: 'Network token mismatch. Are you using token for the correct network? See https://blockfrost.dev/docs/start-building#available-networks',
  status_code: 403
}

This code will surface this error to the user when they forget to update their .env file ;)

@alessandrokonrad alessandrokonrad merged commit 6b4c284 into spacebudz:main Jul 22, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants