My Oracle Support Banner

Functions On Local Host fail with error -" Fn: error replacing file with tempfile" or " Fn: unable to find tenancyID in environment or configuration." (Doc ID 2834385.1)

Last updated on MARCH 28, 2022

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Oracle Cloud Infrastructure - Functions As A Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

You are following Oracle public document  https://docs.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsquickstartlocalhost.htm#functionsquickstartlocalhost. While creating context you are getting below error:

 

 

Changes

 You are trying to build Functions on Windows OS and following instructions from 

https://docs.oracle.com/en-us/iaas/Content/Functions/Tasks/functionsquickstartlocalhost.htm#functionsquickstartlocalhost

At section, C.4.2
you executed "fn use context my_context", and it failed. 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.