You need to sign in to do that
Don't have an account?
gtuerk_greensaas
JSForce Platform Event Subscription
I have a node.js application that uses JSForce and subscribes to platform events. The app is working fine in production (on Winter '20) but my sandbox that was refreshed for Spring '20 doesn't appear to be picking up new platform events that are published to the EventBus in APEX. Is there a known issue with Platform events that is being worked out?
Did you change the version? ( version: '48.0' )
Anonymous window (developer console): Result:
Building ID 123456481450
Alain
"jsforce": "^1.9.3", package.json
Error: UNSUPPORTED_API_VERSION: Invalid Api version specified on URL
at C:\Users\gtuer\ScratchPad\Quote2CashMiddleware\node_modules\jsforce\lib\connection.js:1365:13
Winter 20' : version: '48.0': Error: UNSUPPORTED_API_VERSION; version: '47.0' : no error and messages caught by jsforce ( 1.9.3 )
Spring 20' : version: '48.0': no error and messages caught by jsforce ( 1.9.3 ) ; version: '47.0' : no error but NO messages caught by jsforce ( 1.9.3 ) (it is your big problem currently, no error but all the message are lost)
You have opened a question for the issues of jsforce, wait and see.
The upgrade of jsforce was not mandatory for each version of Salesforce but here that seems the case.