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.


You are following Oracle public document While creating context you are getting below error:




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

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


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

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