Title: cors error · Issue #524 · fullstackreact/google-maps-react · GitHub
Open Graph Title: cors error · Issue #524 · fullstackreact/google-maps-react
X Title: cors error · Issue #524 · fullstackreact/google-maps-react
Description: My project was working fine last week and now I'm getting cors errors. I have been in contact with google technical support to ensure that my key is set up properly and I can make fetch calls to the library without cors issues as well. T...
Open Graph Description: My project was working fine last week and now I'm getting cors errors. I have been in contact with google technical support to ensure that my key is set up properly and I can make fetch calls to th...
X Description: My project was working fine last week and now I'm getting cors errors. I have been in contact with google technical support to ensure that my key is set up properly and I can make fetch calls t...
Opengraph URL: https://github.com/fullstackreact/google-maps-react/issues/524
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cors error","articleBody":"My project was working fine last week and now I'm getting cors errors. I have been in contact with google technical support to ensure that my key is set up properly and I can make fetch calls to the library without cors issues as well. The errors I'm seeing output in my console is:\r\n\r\n```\r\nUncaught (in promise) lf {message: 'loaderCB01632903299228 is not a function', name: 'InvalidValueError', stack: 'Error\\n at new lf (https://maps.googleapis.com/m…ons&v=3&language=en&onerror=ERROR_FUNCTION:309:44'}\r\nPromise.then (async)\r\nXda @ js?key=AIzaSyB-j1r3ZhIXV9TYHC_gpGdlKT0vTkSbuy4&callback=loaderCB01632903299228&libraries=directions&v=3&language=en&onerror=ERROR_FUNCTION:309\r\ngoogle.maps.Load @ js?key=AIzaSyB-j1r3ZhIXV9TYHC_gpGdlKT0vTkSbuy4&callback=loaderCB01632903299228&libraries=directions&v=3&language=en&onerror=ERROR_FUNCTION:14\r\n(anonymous) @ js?key=AIzaSyB-j1r3ZhIXV9TYHC_gpGdlKT0vTkSbuy4&callback=loaderCB01632903299228&libraries=directions&v=3&language=en&onerror=ERROR_FUNCTION:439\r\n(anonymous) @ js?key=AIzaSyB-j1r3ZhIXV9TYHC_gpGdlKT0vTkSbuy4&callback=loaderCB01632903299228&libraries=directions&v=3&language=en&onerror=ERROR_FUNCTION:439\r\n:3000/:1 Access to fetch at 'https://maps.googleapis.com/maps/api/js?key=AIzaSyB-j1r3ZhIXV9TYHC_gpGdlKT0vTkSbuy4&callback=loaderCB01632903299228&libraries=directions&v=3&language=en&onerror=ERROR_FUNCTION' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.\r\nindex.js:1 GET https://maps.googleapis.com/maps/api/js?key=AIzaSyB-j1r3ZhIXV9TYHC_gpGdlKT0vTkSbuy4&callback=loaderCB01632903299228&libraries=directions&v=3&language=en&onerror=ERROR_FUNCTION net::ERR_FAILED 200\r\n```","author":{"url":"https://github.com/christopher-jj-k","@type":"Person","name":"christopher-jj-k"},"datePublished":"2021-09-29T08:16:38Z","url":"https://github.com/fullstackreact/google-maps-react/issues/524"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67a3e09e-11a0-793e-370b-21af740603ce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A79C:19EC1D:55557B:6FFFA1:6AFE6AAD |
| html-safe-nonce | 6677e7da72ecfc8fa3032300fd71b5e1984e658ae6948d2940f6dd50512ad112 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzlDOjE5RUMxRDo1NTU1N0I6NkZGRkExOjZBRkU2QUFEIiwidmlzaXRvcl9pZCI6IjkxMTQ5ODg3OTY2MzMzMTE5MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 94b83c49f70f6b6bfe60e51dbef06f3e682e5d14752bd139ef66845f4e9e190d |
| hovercard-subject-tag | issue:1010641255 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/fullstackreact/google-maps-react/524/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f3f28439893c63e0c956f41e534258aa19b6cf48fed19b2ba5bf927fa3a79288/fullstackreact/google-maps-react/issues/524 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f3f28439893c63e0c956f41e534258aa19b6cf48fed19b2ba5bf927fa3a79288/fullstackreact/google-maps-react/issues/524 |
| og:image:alt | My project was working fine last week and now I'm getting cors errors. I have been in contact with google technical support to ensure that my key is set up properly and I can make fetch calls to th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | christopher-jj-k |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| turbo-cache-control | no-preview |
| go-import | github.com/fullstackreact/google-maps-react git https://github.com/fullstackreact/google-maps-react.git |
| octolytics-dimension-user_id | 16674738 |
| octolytics-dimension-user_login | fullstackreact |
| octolytics-dimension-repository_id | 57070925 |
| octolytics-dimension-repository_nwo | fullstackreact/google-maps-react |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 57070925 |
| octolytics-dimension-repository_network_root_nwo | fullstackreact/google-maps-react |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width