Hi all, I’m trying to create an app so I can import the energy generated from my solarpanels (APSystems). In developing with Visual Studio code, I can create API requests fine. But not when I publish a test version. This throws an error.
The code with the UUID in it is:
> console.log(‘API request called’);
const crypto = require("crypto"); const axios = require("axios"); const { v4: uuidv4 } = require("uuid"); const nonce = uuidv4().replace(/-/g, ""); const timestamp = Date.now().toString(); const signature_method = 'HmacSHA256'; const apiKey = api_Key; const apiSecret = String(api_Secret);
But trying to add the device in the app, the following error appears:
Did I do something wrong, or is the development environment different from the test environment?
As you might have guessed, I’m not a professional developer, just having a hobby
Regards, Dick