Custom QR Code with Logo

PAID
By qrcode-monkey | Updated 4 days ago | Tools
Popularity

9.8 / 10

Latency

675ms

Service Level

95%

Health Check

N/A

Back to All Discussions

Requests failing only from dev machine

Rapid account: Adampolczynski
adampolczynski
4 years ago

Hi there and welcome,

We were successfully using your api for few months, but one or two weeks ago something went bad and now we cannot really do POST qr code creation request, but only from dev machine (locally and on your rapid api site requests with such config are going well).

Second subject: since we cannot do request from dev machine, qr code api won’t also process our png image, which hasn’t changed - we’re receiving errorCode 5 every time attaching logo prop.

Here is our config (without logo link):
{
method: ‘POST’,
url: ‘https://qrcode-monkey.p.rapidapi.com/qr/custom’,
headers: {
“x-rapidapi-host”: ‘qrcode-monkey.p.rapidapi.com’,
“x-rapidapi-key”: ‘xxxxxxxxxxxxxxx’,
‘content-type’: ‘application/json’,
accept: ‘application/json’
},
body: {
config: {
body: ‘dot’,
eye: ‘frame2’,
eyeBall: ‘ball2’,
bodyColor: ‘#00AAD1’,
bgColor: ‘#FFFFFF’,
erf1: [‘fv’],
erf2: [‘fv’, ‘fh’],
erf3: [],
brf1: [‘fv’],
brf2: [],
brf3: [‘fv’, ‘fh’],
eye1Color: ‘#005a9e’,
eye2Color: ‘#002e9f’,
eye3Color: ‘#00719e’,
eyeBall1Color: ‘#005a9e’,
eyeBall2Color: ‘#002e9f’,
eyeBall3Color: ‘#00719e’,
gradientColor1: ‘#002e9f’,
gradientColor2: ‘#00719e’,
gradientType: ‘linear’,
gradientOnEyes: false
},
size: 600,
download: true,
file: ‘png’
},
json: true
}

Rapid account: Adampolczynski
adampolczynski Commented 4 years ago

Hi, thanks for quick response,
data param in our case looks like ‘5e0b2912a801272eb5af1370’ - it is a string.

The essence of problem is that it occurs only on virtual machine with public ip, locally the same exact request is going well, as expected.

Regards

Rapid account: Qrcode Monkey
qrcode-monkey Commented 4 years ago

Hi, we are not aware of any changes to our API. Could you please send us complete request bodies which work on the rapidAPI site and do not work on your server? Your current request misses the data attribut… so I want to makes sure I see an complete (not) working request. You can also send us those details to info@qrcode-monkey.com.

Join in the discussion - add comment below:

Login / Signup to post new comments