Custom QR Code with Logo

付费
通过 qrcode-monkey | 已更新 hace 4 días | Tools
人气

9.8 / 10

延迟

677ms

服务等级

94%

Health Check

N/A

返回所有讨论

Problem getting QR with logo

Rapid account: Wmclaxton
wmclaxton
hace 2 años

I am facing the dread 500 error when using this custom API: https://qrcode-monkey.p.rapidapi.com/qr/custom

It seems to work with an image uploaded previously. But it does not work with a newly uploaded image.

This works: data=https://certificates-dev1.nextid.com/certificate?id=1989fc17-e422-4743-85f3-b5392ae9338c&size=120&config={
“body”: “edge-cut”,
“bodyColor”: “#16456a”,
“bgColor”: “#ffffff”,
“eyeBall”: “ball0”,
“eye”: “frame0”,
“eyeBall1Color”: “#16456a”,
“eyeBall2Color”: “#16456a”,
“eyeBall3Color”: “#16456a”,
“eye1Color”: “#16456a”,
“eye2Color”: “#16456a”,
“eye3Color”: “#16456a”,
“logo”: “f2bf0c09b17cb9760d59cd7fda61813f5e4c9cbd.png”,
“logoMode”: “clean”
}&file=png

This does not work: data=https://certificates-dev1.nextid.com/certificate?id=1989fc17-e422-4743-85f3-b5392ae9338c&size=120&config={
“body”: “edge-cut”,
“bodyColor”: “#16456a”,
“bgColor”: “#ffffff”,
“eyeBall”: “ball0”,
“eye”: “frame0”,
“eyeBall1Color”: “#16456a”,
“eyeBall2Color”: “#16456a”,
“eyeBall3Color”: “#16456a”,
“eye1Color”: “#16456a”,
“eye2Color”: “#16456a”,
“eye3Color”: “#16456a”,
“logo”: “00d6de553650a85a5ce00fb437e89af981d17fd8.png”,
“logoMode”: “clean”
}&file=png

The difference is in the logo file. Perhaps the logo was not updated successfully?

Rapid account: Andrey Artamonov
AndreyArtamonov Commented hace 2 años

Hello!
This problem is repeating

"The problem may originate with /qr/upload API. Here is a test:

Navigate to endpoints for testing (https://rapidapi.com/qrcode-monkey/api/custom-qr-code-with-logo/).
Select ‘upload image’ and confirm that X-RapidAPI-Key value is correct (a valid key).
Click ‘Test Endpoint’
Notice the 500 error and status message: “Form fieldname ‘file’ is not existing”."

Rapid account: Wmclaxton
wmclaxton Commented hace 2 años

Norbert, hi -

I have got to the bottom of the problem. Let me explain.

  1. Our call to your Upload Image API wrongly included the line “content-type”: “application/json” in the headers section. It was apparently added sometime after 6 Dec 2021 with some other minor code changes. This change caused the upload to fail with error 500. When this line is removed, the image can be uploaded successfully and the problem is not with your implementation.

  2. The upload function was not being called prior to 21 Dec 2021 because we relied on a previously uploaded logo image. But that logo image expired at your server around that date, and so our calls to the Custom QR Generator API failed at that point. In our attempt to upload new logo images, we encountered the above-mentioned header error.

I just wanted to clarify this issue and close the case.

Rapid account: Qrcode Monkey
qrcode-monkey Commented hace 2 años

I just looked at the fetch and it is difficult to check without the original logo files. Please send the files to norbert@qrcode.studio, thanks.

Rapid account: Qrcode Monkey
qrcode-monkey Commented hace 2 años

Hello,

sorry! I did not get a notification. I will look into it today regarding the fetch and get back to you. Regarding the upload: I could not get the upload testing to work via the RapidAPI website. But when implementing you need to imitate a form and the form field for the file you want to upload is called “file”.

Rapid account: Wmclaxton
wmclaxton Commented hace 2 años

We have modified our code to improve error handling and will now auto-rollover to Google API if the subscribed API is not responding or is throwing errors. In the process, we documented that image upload is failing on the QR Monkey API, so the fetch (generate custom QR) fails because the image does not exist. Also, a previously uploaded logo image is not accessible, perhaps because their service removes it after some period of time (there is no guarantee of retention time) or after some number of calls.

Rapid account: Wmclaxton
wmclaxton Commented hace 2 años

I have downgraded from Ultra to Pro. If I don’t get a response soon, I will be looking for another API.

Rapid account: Wmclaxton
wmclaxton Commented hace 2 años

7 days without response. I know it’s the holidays be could you at least acknowledge my report?

Rapid account: Wmclaxton
wmclaxton Commented hace 2 años

The problem may originate with /qr/upload API. Here is a test:

  1. Navigate to endpoints for testing (https://rapidapi.com/qrcode-monkey/api/custom-qr-code-with-logo/).
  2. Select ‘upload image’ and confirm that X-RapidAPI-Key value is correct (a valid key).
  3. Click ‘Test Endpoint’
  4. Notice the 500 error and status message: “Form fieldname ‘file’ is not existing”.

Either the form on RapidAPI is corrupted or the API is failing.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论