Comments (4)
Hi @chejazi ,kindly retry now, it will work. 👍🏻
from mexa-sdk.
Can you share more details on unhandled exception and what time request was sent?
This endpoint should always be up as we do not have downtime as such.
Thanks for pointing it out, I will wrap this inside try catch
from mexa-sdk.
Last times the request was sent:
2021-08-23T15:04:22.894Z
2021-08-23T15:05:12.105Z
2021-08-23T15:07:45.011Z
2021-08-23T15:08:36.075Z
2021-08-23T15:10:05.840Z
2021-08-23T15:13:12.293Z
2021-08-23T15:14:23.888Z
2021-08-23T15:15:22.522Z
2021-08-23T15:16:32.853Z
2021-08-23T15:18:47.782Z
2021-08-23T15:25:52.777Z
2021-08-23T15:27:18.817Z
2021-08-23T15:31:42.588Z
2021-08-23T15:32:53.492Z
2021-08-23T15:35:44.664Z
2021-08-23T15:36:32.908Z
2021-08-23T15:37:08.910Z
Nodejs output
(node:51133) UnhandledPromiseRejectionWarning: FetchError: invalid json response body at https://api.biconomy.io/api/v2/meta-tx/systemInfo?networkId=137 reason: Unexpected token < in JSON at position 0
at /admin/node_modules/node-fetch/lib/index.js:272:32
at processTicksAndRejections (internal/process/task_queues.js:88:5)
(node:51133) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:51133) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
This is occurring when initializing the sdk:
const biconomy = new Biconomy(maticProvider, {
apiKey: "...redacted"
debug: true
});
biconomy.onEvent(biconomy.READY, () => {
resolve(biconomy);
}).onEvent(biconomy.ERROR, (error, message) => {
reject(error);
});
from mexa-sdk.
Right now if I use my nodejs repl I am seeing the error.
const fetch = require("node-fetch");
fetch("https://api.biconomy.io/api/v2/meta-tx/systemInfo?networkId=137").then(console.log)
logs:
Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: {
body: Gunzip {
_writeState: [Uint32Array],
_readableState: [ReadableState],
readable: true,
_events: [Object],
_eventsCount: 7,
_maxListeners: undefined,
_writableState: [WritableState],
writable: true,
allowHalfOpen: true,
_transformState: [Object],
_hadError: false,
bytesWritten: 0,
_handle: [Zlib],
_outBuffer: <Buffer 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 3e 0a 3c 21 2d 2d 5b 69 66 20 6c 74 20 49 45 20 37 5d 3e 20 3c 68 74 6d 6c 20 63 6c 61 73 73 3d 22 6e 6f 2d ... 16334 more bytes>,
_outOffset: 0,
_chunkSize: 16384,
_defaultFlushFlag: 2,
_finishFlushFlag: 2,
_nextFlush: -1,
_defaultFullFlushFlag: 3,
_info: undefined,
_level: -1,
_strategy: 0
},
disturbed: false,
error: null
},
[Symbol(Response internals)]: {
url: 'https://api.biconomy.io/api/v2/meta-tx/systemInfo?networkId=137',
status: 403,
statusText: 'Forbidden',
headers: Headers { [Symbol(map)]: [Object] },
counter: 0
}
}
from mexa-sdk.
Related Issues (20)
- Open Bounty: Use Gasless SDK in your app HOT 5
- Gasless Enhancement: Enable custom messages inside the signature request pop-up
- Signature Modification to Show Custom Messages on Wallet Popup HOT 6
- Many errors occurred from the time I upgrade to 3.0.1 HOT 3
- send_Transaction with biconomy.provider failed HOT 1
- Not able to sign the transaction when integrating Gasless transaction using web3Auth wallet.
- latest V3 SDK is not working with Next.js due to polyfills HOT 9
- Gas Token Swap Widget HOT 2
- Make your dApp Gasless HOT 3
- Incompatibility between Web3Auth and Biconomy w/ React TS (error while getting transaction receipt) HOT 1
- can't run react app after install @biconomy/mexa HOT 1
- Got error: Can't resolve 'fs'
- So many errors occurred in Console from utils.js with debug disabled.
- Transaction pending: This txn hash was found in our secondary node and should be picked up by our indexer in a short while
- Problem with SDK in backend HOT 1
- Default parameter in getUserContract() HOT 1
- Gnosis SCW config breaks Biconomy.js init HOT 1
- Support for customising EIP 712 signature request HOT 2
- Bits being inserted into uin256 parameters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mexa-sdk.