Skip to content

Pulling Competitors' Data #2

@lrmelt

Description

@lrmelt

I am trying to pull competitors data via the public data add-on.

I am retrieving the proper data when I do:
getProducts("mine", store = "all",curlHandle,verbose = TRUE,orgJSON = FALSE)

However, when I do any call for competitors data I get this:
getProducts(5573695, store = "all",curlHandle,verbose = TRUE,orgJSON = FALSE) About to connect() to proxy PROXY port 8080 Trying 10.221.15.70... * connected Connected to PROXY port 8080 Establish HTTP proxy tunnel to api.appfigures.com:443 Server auth using Basic with user USER' CONNECT api.appfigures.com:443 HTTP/1.0 Host: api.appfigures.com:443 Proxy-Connection: Keep-Alive X-Client-Key: KEY HTTP/1.1 200 Connection established Proxy replied OK to CONNECT request successfully set certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none SSL connection using AES256-SHA Server certificate: subject: /C=US/postalCode=10002/ST=New York/L=New York/streetAddress=3rd Fl./streetAddress=133 Chrystie St/O=appFigures, Inc./OU=Web/OU=Hosted by Fileitup Media/OU=PremiumSSL Wildcard/CN=*.appfigures.com start date: 2015-03-13 00:00:00 GMT expire date: 2017-04-08 23:59:59 GMT subjectAltName: api.appfigures.com matched issuer: /C=US/ST=MN/L=CERT/O=ESI/OU=WSCT/CN=Decrypt Cert/emailAddress=CERT SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway. Server auth using Basic with user 'USER' GET /v2//reviews?format=json&page=1&sort=date&start=2016-07-29&end=2016-08-29&products=5573695&count=25 HTTP/1.1 Authorization: Basic HASH Host: api.appfigures.com Accept: */* X-Client-Key: CLIENTKEY HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: application/json; charset=utf-8 ETag: "WC6iaC05Nv7P0gOLnK6GOA==" X-Request-Limit: 1000 X-Request-Usage: 35 X-Partner-Credit-Cost: 1 X-Partner-Credits-Remaining: 5 X-Partner-Reason: Some given products are not owned by your account. (the first one is: 5573695) X-Server-ID: 13 Date: Mon, 29 Aug 2016 22:29:54 GMT Cache-Control: private, proxy-revalidate Proxy-Connection: Keep-Alive Connection: Keep-Alive Set-Cookie: SRV=; Expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/ Age: 0 Connection #0 to host HOST left intact Error: is.character(txt) is not TRUE

The Error: is.character(txt) is not TRUE is crashing when I call any data that is not mine.

What is the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions