Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

On-device Image recognition - ERROR_INVALID_SERVER_RESPONSE

João Pereira Oct 12, 2017

Hello,
I have developed an app using the catchoom on-device image recognition library and bought the subscription to have more scans. However now when I signed the apk and placed it on the (android) play store when I try to scan an image I get the following error: ERROR_INVALID_SERVER_RESPONSE with log:
{
"search_time": 91,
"results": [{
"item": {
"uuid": "xxxxxxx",
"custom": "https://crs-beta-catchoom.s3.amazonaws.com/collections/xxxxxxx/metadata/xxxxxxx.json",
"content": null,
"images": ["xxxxxxx", "xxxxxx"],
"trackable": false,
"name": "vodafone ar"
},
"image": "xxxxxx",
"score": 56,
"bbox": [
[0.3851553499698639, 0.8110846281051636],
[0.3889397382736206, 0.4086553156375885],
[0.7284990549087524, 0.8167612552642822],
[0.7322834730148315, 0.41433191299438477]
]
}],
"collection": {
"pubkey": "",
"uuid": "xxxxxxx",
"image_template": "https://crs-beta-catchoom.s3.amazonaws.com/cache/collections/{0}/images/{1}_{2}_thumb_120.jpe",
"app_id": "com.catchoom.test"
}
}

(I have hidden the token and uuid on purpose).
The application is working correctly on iOS devices but in Android I get this error. Any idea?


( Agent )
Kristoffer Pantic

Oct 13, 2017

Hi Joao,

Are you using On-Device Image Recognition? You don’t seem to have purchased the On-Device Add-on. If you look at the response, it contains: “app_id”: “com.catchoom.test” which is only returned if you’re using an un-registered/invalid AppID.

Cheers,
Kristoffer

0 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?

support@catchoom.com
https://cdn.desk.com/
false
catchoom
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete