ContributionsMost RecentMost LikesSolutionsRe: OAuth2 issues authorizing to Box Thanks for the feedback. Where do I obtain the client ID of SnapLogic? Re: OAuth2 issues authorizing to Box For those that have used SnapLogic Box snaps, I have a question about the configuration in Box necessary to be able to create a “Box Account” through SnapLogic. The screens below show that I am choosing to create a “box.com” account in SnapLogic. When entering info and clicking “authorize” I get the error on the second screen. Re: OAuth2 issues authorizing to Box At a high-level, I am trying to upload documents to Box and populate a Box metadata template with values specific to the documents. Box Snaps allow me to upload the document and obtain the Box file ID, but I am having to leverage the Box APIs in order to do the metadata components. Have you been able to successfully create an oAuth account do leverage within the REST snaps with Box? If so, I’d be interested in if you’ve seen issues similar to what I have asking about in this thread. Re: OAuth2 issues authorizing to Box When clicking “Authorize” when creating/editing the user in SnapLogic, I do see the page you included. When I click “Grant access to Box” I am redirected to the URL, https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/rest which includes a “state” parameter and a “code” parameter. However, the page displays this error below. {“query_string”: “state=hostname%3Dhttps%3A%2F%2Felastic.snaplogic.com%2Cinstance_id%#############################################&code=##################################”, “path”: “/api/1/rest/admin/oauth2callback/rest”, “response_map”: {“error_list”: [{“message”: “Unable to decrypt property ‘$.settings.client_id’ with key: account-autogen”}]}, “http_status”: “400 Bad Request”, “http_status_code”: 400} Thanks again for your time and insight! Re: OAuth2 issues authorizing to Box OK. Thanks again for your time and responses. I have referenced your original response and checked my settings in both SnapLogic and Box. For the Box settings, the Redirect URI looks correct in the application. I have not created a triggered task for this pipeline, so I have not setup anything in the web app integration settings. For SnapLogic, I have similar oauth2 settings in my account settings - the only difference being that I am pointing to a development instance of Box which uses a sub-domain of box.com. When I go to authorize the account in SnapLogic, I am prompted to login to Box as expected, however am still receiving the error I quoted in my original post. Could I be missing something in my administration configuration in Box? Do I need to explicitly grant some type of add the SnapLogic application somewhere? I can connect to the APIs just fine when using the Box developer token. Re: OAuth2 issues authorizing to Box Thank you for the response. I am new to the concept of the Box Integration and am curious if this is necessary. The error I am receiving is while trying to create/authorize a new REST OAuth2 Account in SnapLogic to use when calling Box APIs via the REST Snaps. Is your response indicating that I need to create a task for my pipeline in order to get the URL and bearer token for the web integration setup? I would like to be able to create the account and run it locally in SnapLogic prior to moving on to the task creation. Thanks, Jason OAuth2 issues authorizing to Box I am using REST snaps to connect to and perform functionality in Box that are not available via Box Snaps. I am having trouble establishing my OAuth2 account. I have my ‘application’ setup in Box to connect to and have the client ID and secret all setup as well as the redirect URI to go to https://elastic.snaplogic.com/api/1/rest/admin/oauth2callback/rest. When I try to authorize in the account creation in SnapLogic, I get prompted as expected by Box but am then redirected to a SnapLogic error after logging in. The error details state: “Unable to decrypt property ‘$.settings.client_id’ with key: account-autogen” “400 Bad Request” Any ideas? Re: Box Write - Retrieving the resulting File ID Thanks for the response. My issue is that I need the ID of the file that I have just uploaded via the same Pipeline, therefore I cannot gather the file id manually from the Box site. Box Write - Retrieving the resulting File ID I’m working on developing a pipeline to upload documents to a Box repository. In addition to uploading the documents, I also need to associate metadata within Box. I have been able to accomplish the uploading of documents easily using the Box Write snap. Since metadata updates are not possible through the Box Snaps, I am planning to use the Rest API snap to call the Box API and update the file’s metadata. Question: how can I get the Box File ID of the file that I upload in the Box Write snap in order to use it in the API call? Solved