I’ve paid for PRO monthly plan for testing, but the only one thing that I get, when I try to receive any data - error code 1020. If I am not mistaken, It means that access for me is restricted by your company. So… is it realy worth 100$?
Join in the discussion - add comment below:
Illuminate\Http\Client\Response {#1679 // app/Console/Commands/RapidApi.php:46
#response: GuzzleHttp\Psr7\Response {#1715
-reasonPhrase: “Forbidden”
-statusCode: 403
-headers: array:14 [
“Date” => array:1 [
0 => “Tue, 11 Jul 2023 19:15:17 GMT”
]
“Content-Type” => array:1 [
0 => “text/plain; charset=UTF-8”
]
“Content-Length” => array:1 [
0 => “16”
]
“Connection” => array:1 [
0 => “keep-alive”
]
“X-Frame-Options” => array:1 [
0 => “SAMEORIGIN”
]
“Referrer-Policy” => array:1 [
0 => “same-origin”
]
“Cache-Control” => array:1 [
0 => “private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0”
]
“Expires” => array:1 [
0 => “Thu, 01 Jan 1970 00:00:01 GMT”
]
“Set-Cookie” => array:1 [
0 => “__cf_bm=GFDFSRUxvLX5MroACbr7lLjEh9.ozw4d0U_GuDL_nM0-1689102917-0-ATuaIqKRHj3WT8n9zzkoTWuM9CtjreCGT4Kl7oDKWk4RuJjhl9S9o0OBpY5q4E2fXKkqD+fAgzYGla557HnGboHL0MSrygzJbp15nqryU7x/; path=/; expires=Tue, 11-Jul-23 19:45:17 GMT; domain=.barcodelookup.com; HttpOnly; Secure; SameSite=None”
]
“Strict-Transport-Security” => array:1 [
0 => “max-age=31536000; includeSubDomains; preload”
]
“X-Content-Type-Options” => array:1 [
0 => “nosniff”
]
“Server” => array:1 [
0 => “cloudflare”
]
“CF-RAY” => array:1 [
0 => “7e535fcf6a5e4d93-FRA”
]
“alt-svc” => array:1 [
0 => “h3=”:443"; ma=86400"
]
]
-headerNames: array:14 [
“date” => “Date”
“content-type” => “Content-Type”
“content-length” => “Content-Length”
“connection” => “Connection”
“x-frame-options” => “X-Frame-Options”
“referrer-policy” => “Referrer-Policy”
“cache-control” => “Cache-Control”
“expires” => “Expires”
“set-cookie” => “Set-Cookie”
“strict-transport-security” => “Strict-Transport-Security”
“x-content-type-options” => “X-Content-Type-Options”
“server” => “Server”
“cf-ray” => “CF-RAY”
“alt-svc” => “alt-svc”
]
-protocol: “1.1”
-stream: GuzzleHttp\Psr7\Stream {#1727
-stream: stream resource {@740
wrapper_type: “PHP"
stream_type: “TEMP"
mode: “w+b"
unread_bytes: 0
seekable: true
uri: “php://temp"
options: []
}
-size: null
-seekable: true
-readable: true
-writable: true
-uri: “php://temp”
-customMetadata: []
}
}
#decoded: null
+cookies: GuzzleHttp\Cookie\CookieJar {#1698
-cookies: array:2 [
0 => GuzzleHttp\Cookie\SetCookie {#1711
-data: array:10 [
“Name” => “__cflb”
“Value” => “0H28uyvJ4CKpQyt4K4gb55qSRN7UNHbCKTyp7hZGK6D”
“Domain” => “barcode-lookup.p.rapidapi.com”
“Path” => “/”
“Max-Age” => null
"Expires” => 1689104716
"Secure” => true
"Discard” => false
"HttpOnly” => true
"SameSite" => “None”
]
}
1 => GuzzleHttp\Cookie\SetCookie {#1718
-data: array:10 [
“Name” => “__cf_bm”
“Value” => “GFDFSRUxvLX5MroACbr7lLjEh9.ozw4d0U_GuDL_nM0-1689102917-0-ATuaIqKRHj3WT8n9zzkoTWuM9CtjreCGT4Kl7oDKWk4RuJjhl9S9o0OBpY5q4E2fXKkqD+fAgzYGla557HnGboHL0MSrygzJbp15nqryU7x/”
“Domain” => “.barcodelookup.com”
“Path” => “/”
“Max-Age” => null
"Expires" => 1689104717
"Secure" => true
"Discard" => false
"HttpOnly" => true
"SameSite" => “None”
]
}
]
-strictMode: false
}
+transferStats: GuzzleHttp\TransferStats {#1730
-request: GuzzleHttp\Psr7\Request {#1712
-method: “GET”
-requestTarget: null
-uri: GuzzleHttp\Psr7\Uri {#1699
-scheme: “https”
-userInfo: “”
-host: “api.barcodelookup.com”
-port: null
-path: “/v3/products”
-query: “barcode=8595642248450”
-fragment: “”
-composedComponents: “https://api.barcodelookup.com/v3/products?barcode=8595642248450”
}
-headers: array:4 [
“Host” => array:1 [
0 => “api.barcodelookup.com”
]
“User-Agent” => array:1 [
0 => “GuzzleHttp/7”
]
“X-RapidAPI-Host” => array:1 [
0 => “barcode-lookup.p.rapidapi.com”
]
“X-RapidAPI-Key” => array:1 [
0 => “05a2ce2437msha10c39673bba63ap15719ajsn2b9c8632ba0a”
]
]
-headerNames: array:4 [
“host” => “Host”
“user-agent” => “User-Agent”
“x-rapidapi-host” => “X-RapidAPI-Host”
“x-rapidapi-key” => “X-RapidAPI-Key”
]
-protocol: “1.1”
-stream: GuzzleHttp\Psr7\Stream {#1700
-stream: stream resource {@738
wrapper_type: “PHP"
stream_type: “TEMP"
mode: “w+b"
unread_bytes: 0
seekable: true
uri: “php://temp"
options: []
}
-size: 0
-seekable: true
-readable: true
-writable: true
-uri: “php://temp”
-customMetadata: []
}
}
-response: GuzzleHttp\Psr7\Response {#1715}
-transferTime: 0.159021
-handlerStats: array:38 [
“url” => “https://api.barcodelookup.com/v3/products?barcode=8595642248450"
“content_type” => “text/plain; charset=UTF-8"
“http_code” => 403
"header_size” => 824
"request_size” => 222
"filetime” => -1
"ssl_verify_result” => 0
"redirect_count” => 0
"total_time” => 0.159021
"namelookup_time" => 0.008407
"connect_time" => 0.051559
"pretransfer_time" => 0.108194
"size_upload" => 0.0
"size_download" => 16.0
"speed_download" => 100.0
"speed_upload" => 0.0
"download_content_length" => 16.0
"upload_content_length" => -1.0
"starttransfer_time" => 0.15881
"redirect_time" => 0.0
"redirect_url" => “”
“primary_ip” => “188.114.99.229"
“certinfo” => []
“primary_port” => 443
"local_ip” => “85.193.90.114"
“local_port” => 53636
"http_version” => 2
"protocol" => 2
"ssl_verifyresult" => 0
"scheme" => “HTTPS”
“appconnect_time_us” => 108138
"connect_time_us" => 51559
"namelookup_time_us" => 8407
"pretransfer_time_us" => 108194
"redirect_time_us" => 0
"starttransfer_time_us" => 158810
"total_time_us" => 159021
"appconnect_time" => 0.108138
]
-handlerErrorData: 0
}
}
Hi there. You should not be restricted from making any API calls, if you have not exceed your rate limits. Can you post the full response you’re getting?