---
title: "Discussion on \"Blocked by CORS policy, No Access-control-allow-origin' error when creating AWS Lambda script\" | Hashnode"
description: "Discussion on \"Blocked by CORS policy, No Access-control-allow-origin' error when creating AWS Lambda script\". origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."
url: "https://hashnode.com/posts/blocked-by-cors-policy-no-access-control-allow-origin-error-when-creating-aws-lambda-script/612a51e3fd0bf8636d76be7f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Blocked by CORS policy, No Access-control-allow-origin' error when creating AWS Lambda script](https://blog.azcodez.com/blocked-by-cors-policy-no-access-control-allow-origin-error-when-creating-aws-lambda-script?utm_source=hashnode&utm_medium=feed)

origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Aug 28, 2021 · 1 min read · blog.azcodez.com  
Updated Aug 6, 2022  
Read the article

-   [#aws-lambda](https://hashnode.com/tag/aws-lambda)
-   [#aws](https://hashnode.com/tag/aws)
-   [#bugs-and-errors](https://hashnode.com/tag/bugs-and-errors)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Asrin Dayananda](https://hashnode.com/@azcodez)

@azcodez · United Kingdom

  
[View profile](https://hashnode.com/@azcodez)

Cloud & Software Engineer 👨‍💻

Software engineer focusing on PHP, JavaScript, HTML, CSS, CI/CD, GitHub, AWS, Azure &amp; Magento Commerce. I enjoy code for good projects, tech, gym, nature, travel, fried chicken, and coffee. All my articles are educational only from my experience. Feel free to connect.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
