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

InvalidApiVersionError: The version of this extension is not the same. Extension version 0.1.7, Api version: 0.1.6. #51

Closed
Jonas-Sander opened this issue Apr 3, 2023 · 5 comments

Comments

@Jonas-Sander
Copy link

Jonas-Sander commented Apr 3, 2023

After trying to setup the Extension we get the following error when making a subscription:

InvalidApiVersionError: The version of this extension is not the same. Extension version 0.1.7, Api version: 0.1.6. Please retry the request with the correct version
at Object.exports.validateApiVersion ( [/workspace/lib/validate-api-version.js:7](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fworkspace%2Flib%2Fvalidate-api-version.js&line=7&project=[project_name]) )
at undefined. ( [/workspace/lib/index.js:78](https://console.cloud.google.com/debug?referrer=fromlog&file=%2Fworkspace%2Flib%2Findex.js&line=78&project=[project_name]) )
at .processTicksAndRejections ( [internal/process/task_queues.js:77](https://console.cloud.google.com/debug?referrer=fromlog&file=internal%2Fprocess%2Ftask_queues.js&line=77&project=[project_name]) )
@vargajacint
Copy link

I've updated my perfectly running Firebase extension and got the same error in the RevenueCat Event Details.

{"code":2,"message":"The version of this extension is not the same. Extension version 0.1.7, Api version: 0.1.6. Please retry the request with the correct version","extension_version":"0.1.7"}

@mshmoustafa
Copy link

Hello! This error is typically fixed as part of an automatic upgrade process when installing the extension, and generally doesn't indicate there being an issue with your setup. Double check your Firebase integration page in RevenueCat, we may already be sending events successfully. Worst case you may have to reinstall the extension, we've seen reports of this error being fixed by doing that.

@Jonas-Sander
Copy link
Author

Hello! This error is typically fixed as part of an automatic upgrade process when installing the extension, and generally doesn't indicate there being an issue with your setup. Double check your Firebase integration page in RevenueCat, we may already be sending events successfully. Worst case you may have to reinstall the extension, we've seen reports of this error being fixed by doing that.

Yes, sorry for not updating the issue, the events are now being sent successfully.
I have to say though that this edge-case could be handled a bit user-friendlier in my opinion.
As this is now working, I'm gonna close this issue.

@kajensen
Copy link

kajensen commented Jul 5, 2023

I've just set up the Firebase extension. I'm getting the same 400 error. @mshmoustafa Are you saying these errors should eventually go away with no action?

@vargajacint
Copy link

@kajensen For me it's gone without any further 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

4 participants