BOX search content API not working with email id
Search content API is not working when the content is a mail id. Is there any specific approach for this requirement?
-
Thanks Alex for the fast reply.
I am using search content API to find files that contain a specific email id. When I used a word or a text in the query, it was working fine, but when I use an email id to be searched in the files, it is not working. It is show that no files have the specified email id in it's content.
Example : 'https://api.box.com/2.0/search?query='+emailId
The 'emailId' is actual present in a file. But the response returns zero entries.
-
This seems to be working now. It was because I did not add my service account as collaborator.
Another issue I am facing is that, even though service account was added as collaborator to the file and folder, search API is not giving desired output. This issue is shown in the company BOX account. Can you help me with this?
-
I have a BOX application in my company BOX account. The search API is giving me 0 results but the status code is 200. I am facing this issue when I am logged into to my company BOX account. The same application exists in my personal BOX account which is giving me desired output. Can't find what is going wrong in the company BOX account.
-
I am searching for a content in my company account using the application in the company account.
Client id: 2fhv5vzik0ssjsk8xpyw77t47ck88hnn
code:
var searchText = document.getElementById('search_id').value;var url = 'https://api.box.com/2.0/search?query='+searchText;xmlHttp.open("GET", url, false );xmlHttp.setRequestHeader('Authorization', authorization);xmlHttp.send(null);var result = JSON.parse(xmlHttp.responseText);
投稿コメントは受け付けていません。
コメント
18件のコメント