[HELP]Weird Native Error

Im developing a new script, and when i try to create a blip i get an console error, saying that i attempted to call a nil value to AddTextComponentString and my blips dont appear with a name, but they get created and everything is fine except that , but thats very weird because i copied the function that creates blips from another script that is working, look my code and pls help me!

function CreateBlips()

  for i=1, #Config.Negocios, 1 do

    local negocio = Config.Negocios[i]
    if negocio.position ~= nil then
		ESX.ShowNotification(negocio.label)
      Blips[negocio.name] = AddBlipForCoord(negocio.position.x, negocio.position.y, negocio.position.z)
		
      SetBlipSprite (Blips[negocio.name], 408)
      SetBlipDisplay(Blips[negocio.name], 4)
      SetBlipScale  (Blips[negocio.name], 1.0)
      SetBlipAsShortRange(Blips[negocio.name], true)

      BeginTextCommandSetBlipName("STRING")
	  AddTextComponentString("Teste")
	EndTextCommandSetBlipName(Blips[negocio.name])

    end
  end

end

Guys pls this error is just stupid help meeeee